import React, { Component } from 'react'
// import './MyComponent2.less'
// import Storage from 'UTIL/storage'
import StorageComponent from 'UTIL/HoC/StorageComponent'

class App extends Component {
  constructor(props) {
    super(props)
    this.state = {}
  }
  handleClick() {
    console.log(this.props)
    this.props.storage.onChange()
  }
  render() {
    return <div className="tederen-MyComponent2">
      <button onClick={this.handleClick.bind(this)}>点一下</button>
    </div>
  }
}

export default StorageComponent(App)
